package com.ruoyi.purchase.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;

import java.sql.Date;
import java.util.List;

public class DeliveryVO {
    /** 送货单ID */
    private Long id;

    /** 送货单号 */
    private String deliveryId;

    /** 采购订单号 */
    private String poId;

    /** 送货日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date deliveryDate;

    /** 发货状态 */
    private Long deliveryStatus;

    /** 总箱数 */
    private Long totalBoxes;

    /** 总数量 */
    private Long totalQuantity;

    /** 备注 */
    private String remark;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createdAt;

    /** 创建人 */
    private String createdPerson;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date updatedAt;

    /** 送货清单汇总 */
    private List<DeliveryItemVO> deliveryItems;

    /** 箱码列表 */
    private List<BoxCodesVO> boxCodes;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getDeliveryId() {
        return deliveryId;
    }

    public void setDeliveryId(String deliveryId) {
        this.deliveryId = deliveryId;
    }

    public String getPoId() {
        return poId;
    }

    public void setPoId(String poId) {
        this.poId = poId;
    }

    public Date getDeliveryDate() {
        return deliveryDate;
    }

    public void setDeliveryDate(Date deliveryDate) {
        this.deliveryDate = deliveryDate;
    }

    public Long getDeliveryStatus() {
        return deliveryStatus;
    }

    public void setDeliveryStatus(Long deliveryStatus) {
        this.deliveryStatus = deliveryStatus;
    }

    public Long getTotalBoxes() {
        return totalBoxes;
    }

    public void setTotalBoxes(Long totalBoxes) {
        this.totalBoxes = totalBoxes;
    }

    public Long getTotalQuantity() {
        return totalQuantity;
    }

    public void setTotalQuantity(Long totalQuantity) {
        this.totalQuantity = totalQuantity;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public String getCreatedPerson() {
        return createdPerson;
    }

    public void setCreatedPerson(String createdPerson) {
        this.createdPerson = createdPerson;
    }

    public Date getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }

    public List<DeliveryItemVO> getDeliveryItems() {
        return deliveryItems;
    }

    public void setDeliveryItems(List<DeliveryItemVO> deliveryItems) {
        this.deliveryItems = deliveryItems;
    }

    public List<BoxCodesVO> getBoxCodes() {
        return boxCodes;
    }

    public void setBoxCodes(List<BoxCodesVO> boxCodes) {
        this.boxCodes = boxCodes;
    }

    @Override
    public String toString() {
        return "DeliveryVO{" +
                "id=" + id +
                ", deliveryId='" + deliveryId + '\'' +
                ", poId='" + poId + '\'' +
                ", deliveryDate=" + deliveryDate +
                ", deliveryStatus=" + deliveryStatus +
                ", totalBoxes=" + totalBoxes +
                ", totalQuantity=" + totalQuantity +
                ", remark='" + remark + '\'' +
                ", createdAt=" + createdAt +
                ", createdPerson='" + createdPerson + '\'' +
                ", updatedAt=" + updatedAt +
                ", deliveryItems=" + deliveryItems +
                ", boxCodes=" + boxCodes +
                '}';
    }
}
